package com.chenyun.message.tio;

import org.tio.core.ChannelContext;
import org.tio.core.TioConfig;
import org.tio.core.intf.Packet;
import org.tio.server.intf.ServerAioHandler;

import java.io.Serializable;
import java.nio.ByteBuffer;

/**
 * 编解码器 一般不用自定义
 * @author: Lonni
 * @date: 2024/5/7 0007 14:56
 */
public class ServerAioHandlerImpl implements Serializable, ServerAioHandler {


    @Override
    public Packet decode(ByteBuffer byteBuffer, int i, int i1, int i2, ChannelContext channelContext)   {
        return null;
    }

    @Override
    public ByteBuffer encode(Packet packet, TioConfig tioConfig, ChannelContext channelContext) {
        return null;
    }

    @Override
    public void handler(Packet packet, ChannelContext channelContext) throws Exception {

    }
}



